import baseRouter from './config/baseRouter'; // 政府端
const isProjectRouters = (e) => {
  let arr;
  switch (e) {
    case 'base':
      arr = baseRouter;
      break;
    default:
      arr = [{ path: '/', component: '@/pages/index' }];
      break;
  }
  return arr;
};

const dynamicImportLoading = (e) => {
  let obj;
  switch (e) {
    case 'base':
      obj = { loading: '@/components/base/PageLoading/index' };
      break;
    default:
      obj = {};
      break;
  }
  return obj;
};
export { isProjectRouters, dynamicImportLoading };
